package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.ClassInformation;
import cn.wolfcode.crm.domain.Employee;
import cn.wolfcode.crm.qo.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IClassInfomationService {
    void deleteByPrimaryKey(Long id);

    void insert(ClassInformation record);

    ClassInformation selectByPrimaryKey(Long id);

    List<ClassInformation> selectAll();

    void updateByPrimaryKey(ClassInformation record);

    /**
     * 高级查询
     * @param qo
     * @return
     */
    PageInfo<ClassInformation> query(QueryObject qo);

    /**
     * 查询出所有班主任的名字
     * @return
     */
    List<Employee> selectAllTeacherName();
}
